<!doctype html>
<html lang="<?php echo I18n::$lang ?>">
<head>
<meta charset="utf-8">
<title><?php echo $title ?></title>
	<?php foreach ($styles as $file => $type) echo HTML::style($file, array('media' => $type)), PHP_EOL ?>
	<?php foreach ($scripts as $file) echo HTML::script($file), PHP_EOL ?>
</head>

<body>

<!--
 Three column based on:
 http://matthewjamestaylor.com/blog/ultimate-3-column-holy-grail-pixels.htm 
 -->
<div id="header">
	<!-- Header {{ -->
	<?php echo $paneHeader ?>
	<!-- Header }} -->
</div>
<div id="colmask">
	<div id="colmid">
		<div id="colright">
			<div id="col1wrap">
				<div id="col1pad">
					<div id="col1">
						<!-- Column 1 (center) {{ -->
						<?php echo $content ?>
						<!-- Column 1 (center) }} -->
					</div>
				</div>

			</div>
			<div id="col2">
				<!-- Column 2 (left) {{ -->
				<?php echo $paneLeft ?>
				<!-- Column 2 (left) }} -->
			</div>
			<div id="col3">
				<!-- Column 3 (right) {{ -->
				<?php echo $paneRight ?>
				<!-- Column 3 (right) }} -->
			</div>
		</div>
	</div>
</div>
<div id="footer">
	<!-- Footer {{ -->
	<?php echo $paneFooter ?>
	<!-- Footer }} -->
</div>

</body>

</html>